<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>首页</title>
</head>
<body>
<h4>
    首页
</h4>

<div>
    <div>
        用户: ${pageContext.session.getAttribute("user")}
    </div>
    <a href="${pageContext.request.contextPath}/user/logout">注销</a>

</div>

</body>
</html>